package fausto.news 
{
	import flash.display.Sprite;
	import flash.text.TextField;
	/**
	 * ...
	 * @author Ben.
	 */
	public class NewsItem extends Sprite
	{
		public var _titleTxt:TextField
		public var _briefTxt:TextField
		
		public var _id:int;
		
		public function NewsItem(_d:XML, _i:int):void 
		{
			_id = _i;
			
			_titleTxt.htmlText = "./ "+_d.label;
			_briefTxt.htmlText = _d.brief;
			
		}
		
	}

}